<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: LE</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__l2cap__le__api__functions.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">LE<div class="ingroups"><a class="el" href="group__l2cap.html">Logical Link Control and Adaptation Protocol (L2CAP)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>API's used for LE <a class="el" href="group__l2cap.html">L2CAP</a>. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga28268b114d35484254e29696a165f72a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga28268b114d35484254e29696a165f72a">wiced_bt_l2cap_cancel_ble_connect_req</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> rem_bda)</td></tr>
<tr class="memdesc:ga28268b114d35484254e29696a165f72a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancel a pending connection attempt to a LE device.  <a href="#ga28268b114d35484254e29696a165f72a">More...</a><br /></td></tr>
<tr class="separator:ga28268b114d35484254e29696a165f72a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga649c28635db51a1a7fcc7a054e79b2d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga649c28635db51a1a7fcc7a054e79b2d3">wiced_bt_l2cap_update_ble_conn_params</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> rem_bdRa, <a class="el" href="structwiced__bt__ble__pref__conn__params__t.html">wiced_bt_ble_pref_conn_params_t</a> *p_conn_params)</td></tr>
<tr class="memdesc:ga649c28635db51a1a7fcc7a054e79b2d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update LE connection parameters.  <a href="#ga649c28635db51a1a7fcc7a054e79b2d3">More...</a><br /></td></tr>
<tr class="separator:ga649c28635db51a1a7fcc7a054e79b2d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga84c66f4df107063ddb0adc482b5491ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga84c66f4df107063ddb0adc482b5491ae">wiced_bt_l2cap_enable_update_ble_conn_params</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> rem_bda, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> enable)</td></tr>
<tr class="memdesc:ga84c66f4df107063ddb0adc482b5491ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Application requests to disable or enable parameters update.  <a href="#ga84c66f4df107063ddb0adc482b5491ae">More...</a><br /></td></tr>
<tr class="separator:ga84c66f4df107063ddb0adc482b5491ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b246f3663cee7a53e788c47172413d9"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga9b246f3663cee7a53e788c47172413d9">wiced_bt_l2cap_get_ble_conn_role</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr)</td></tr>
<tr class="memdesc:ga9b246f3663cee7a53e788c47172413d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the connection role.  <a href="#ga9b246f3663cee7a53e788c47172413d9">More...</a><br /></td></tr>
<tr class="separator:ga9b246f3663cee7a53e788c47172413d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44312ab4c397243d0b40b55851d34a62"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga44312ab4c397243d0b40b55851d34a62">wiced_bt_l2cap_le_register</a> (uint16_t le_psm, <a class="el" href="structwiced__bt__l2cap__le__appl__information__t.html">wiced_bt_l2cap_le_appl_information_t</a> *p_cb_information)</td></tr>
<tr class="memdesc:ga44312ab4c397243d0b40b55851d34a62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Other layers call this function to register L2CAP services for LE_PSM.  <a href="#ga44312ab4c397243d0b40b55851d34a62">More...</a><br /></td></tr>
<tr class="separator:ga44312ab4c397243d0b40b55851d34a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9166cfd9f8619d2ecb2414d6ba3df7b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga9166cfd9f8619d2ecb2414d6ba3df7b7">wiced_bt_l2cap_le_deregister</a> (uint16_t le_psm)</td></tr>
<tr class="memdesc:ga9166cfd9f8619d2ecb2414d6ba3df7b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Other layers call this function to deregister L2CAP services for LE_PSM.  <a href="#ga9166cfd9f8619d2ecb2414d6ba3df7b7">More...</a><br /></td></tr>
<tr class="separator:ga9166cfd9f8619d2ecb2414d6ba3df7b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1842a34af4edc5e83e6506bc33da982"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#gaf1842a34af4edc5e83e6506bc33da982">wiced_bt_l2cap_le_connect_req</a> (uint16_t le_psm, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> p_bd_addr, <a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a> bd_addr_type, <a class="el" href="group__wicedbt___device_management.html#ga4309edd4a7a1c7f30bdc57d8107e84ab">wiced_bt_ble_conn_mode_t</a> conn_mode, uint16_t rx_mtu, uint8_t req_security, uint8_t req_encr_key_size, <a class="el" href="structt_d_r_b.html">tDRB</a> *p_rx_drb)</td></tr>
<tr class="memdesc:gaf1842a34af4edc5e83e6506bc33da982"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to create an L2CAP connection for LE_PSM.  <a href="#gaf1842a34af4edc5e83e6506bc33da982">More...</a><br /></td></tr>
<tr class="separator:gaf1842a34af4edc5e83e6506bc33da982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52799083a3026d9b6ff86416e105444c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga52799083a3026d9b6ff86416e105444c">wiced_bt_l2cap_le_connect_rsp</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> p_bd_addr, uint8_t id, uint16_t lcid, uint16_t result, uint16_t rx_mtu, <a class="el" href="structt_d_r_b.html">tDRB</a> *p_rx_drb)</td></tr>
<tr class="memdesc:ga52799083a3026d9b6ff86416e105444c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to accept an incoming LE L2CAP connection, for which they had gotten an connect indication callback.  <a href="#ga52799083a3026d9b6ff86416e105444c">More...</a><br /></td></tr>
<tr class="separator:ga52799083a3026d9b6ff86416e105444c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6cc529f5a1a6359daf1c0da80b5dc0a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#gad6cc529f5a1a6359daf1c0da80b5dc0a">wiced_bt_l2cap_le_disconnect_req</a> (uint16_t lcid)</td></tr>
<tr class="memdesc:gad6cc529f5a1a6359daf1c0da80b5dc0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to disconnect a LE COC channel.  <a href="#gad6cc529f5a1a6359daf1c0da80b5dc0a">More...</a><br /></td></tr>
<tr class="separator:gad6cc529f5a1a6359daf1c0da80b5dc0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29435ef069ceca748a5c1e67c00799d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga29435ef069ceca748a5c1e67c00799d0">wiced_bt_l2cap_le_disconnect_rsp</a> (uint16_t lcid)</td></tr>
<tr class="memdesc:ga29435ef069ceca748a5c1e67c00799d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to acknowledge the disconnection of a LE COC channel.  <a href="#ga29435ef069ceca748a5c1e67c00799d0">More...</a><br /></td></tr>
<tr class="separator:ga29435ef069ceca748a5c1e67c00799d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8724a2d6b1f7c967c7fb8caff8b045ff"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga8724a2d6b1f7c967c7fb8caff8b045ff">wiced_bt_l2cap_le_data_write</a> (uint16_t cid, uint8_t *p_data, uint16_t buf_len)</td></tr>
<tr class="memdesc:ga8724a2d6b1f7c967c7fb8caff8b045ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send data over LE connection-oriented channel.  <a href="#ga8724a2d6b1f7c967c7fb8caff8b045ff">More...</a><br /></td></tr>
<tr class="separator:ga8724a2d6b1f7c967c7fb8caff8b045ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5f6c77c918db23fd0ac5cad6125c2f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#gab5f6c77c918db23fd0ac5cad6125c2f2">wiced_bt_l2cap_le_set_user_congestion</a> (uint16_t lcid, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> flow_off_peer)</td></tr>
<tr class="memdesc:gab5f6c77c918db23fd0ac5cad6125c2f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">App can call this function to flow control data reception from the peer (flow controlled channels only, viz LE COC, ECRB channels) To stop sending credits/flow off the remote peer set <code>flow_off_peer</code> to WICED_TRUE To resume sending credits/flow on set <code>flow_off_peer</code> to WICED_FALSE.  <a href="#gab5f6c77c918db23fd0ac5cad6125c2f2">More...</a><br /></td></tr>
<tr class="separator:gab5f6c77c918db23fd0ac5cad6125c2f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97495805945b9075eec788d99a1ce8c4"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga97495805945b9075eec788d99a1ce8c4">wiced_bt_l2cap_le_get_peer_mtu</a> (uint16_t lcid)</td></tr>
<tr class="memdesc:ga97495805945b9075eec788d99a1ce8c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to get peer MTU.  <a href="#ga97495805945b9075eec788d99a1ce8c4">More...</a><br /></td></tr>
<tr class="separator:ga97495805945b9075eec788d99a1ce8c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga933b228e0a888ef7eb7671a2b3b7bccd"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__l2cap__le__api__functions.html#ga933b228e0a888ef7eb7671a2b3b7bccd">wiced_bt_l2cap_le_determ_secur_rsp</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, uint8_t req_secur, uint8_t req_encr_key_size)</td></tr>
<tr class="memdesc:ga933b228e0a888ef7eb7671a2b3b7bccd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Higher layers call this function to check if the current device security settings are sufficient to continue with call establishment.  <a href="#ga933b228e0a888ef7eb7671a2b3b7bccd">More...</a><br /></td></tr>
<tr class="separator:ga933b228e0a888ef7eb7671a2b3b7bccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga28268b114d35484254e29696a165f72a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga28268b114d35484254e29696a165f72a">&#9670;&nbsp;</a></span>wiced_bt_l2cap_cancel_ble_connect_req()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_cancel_ble_connect_req </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>rem_bda</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cancel a pending connection attempt to a LE device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">rem_bda</td><td>: BD Address of remote</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: TRUE if connection was cancelled </dd></dl>

</div>
</div>
<a id="ga649c28635db51a1a7fcc7a054e79b2d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga649c28635db51a1a7fcc7a054e79b2d3">&#9670;&nbsp;</a></span>wiced_bt_l2cap_update_ble_conn_params()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_update_ble_conn_params </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>rem_bdRa</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__ble__pref__conn__params__t.html">wiced_bt_ble_pref_conn_params_t</a> *&#160;</td>
          <td class="paramname"><em>p_conn_params</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update LE connection parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">rem_bdRa</td><td>: Remote BD Address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_conn_params</td><td>: Preferred connection parameters</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: TRUE if update started </dd></dl>

</div>
</div>
<a id="ga84c66f4df107063ddb0adc482b5491ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga84c66f4df107063ddb0adc482b5491ae">&#9670;&nbsp;</a></span>wiced_bt_l2cap_enable_update_ble_conn_params()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_enable_update_ble_conn_params </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>rem_bda</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Application requests to disable or enable parameters update. </p>
<dl class="section note"><dt>Note</dt><dd>By default parameter updates are allowed on connection complete This API is typically used to pause parameter updates.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">rem_bda</td><td>Remote Bd Address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">enable</td><td>TRUE to enable,FALSE to disable. If <code>enable</code> = FALSE, and if parameters are already updated, this API resets them to what was requested during connection establishement If <code>enable</code> = TRUE, then any pending request sent through <a class="el" href="group__l2cap__le__api__functions.html#ga649c28635db51a1a7fcc7a054e79b2d3">wiced_bt_l2cap_update_ble_conn_params</a> is processed</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>: TRUE if update started </dd></dl>

</div>
</div>
<a id="ga9b246f3663cee7a53e788c47172413d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9b246f3663cee7a53e788c47172413d9">&#9670;&nbsp;</a></span>wiced_bt_l2cap_get_ble_conn_role()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t wiced_bt_l2cap_get_ble_conn_role </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function returns the connection role. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>BD Address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>link role.( 0 =&gt; HCI_ROLE_CENTRAL and 1 =&gt; HCI_ROLE_PERIPHERAL) </dd></dl>

</div>
</div>
<a id="ga44312ab4c397243d0b40b55851d34a62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga44312ab4c397243d0b40b55851d34a62">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_register()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_l2cap_le_register </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>le_psm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwiced__bt__l2cap__le__appl__information__t.html">wiced_bt_l2cap_le_appl_information_t</a> *&#160;</td>
          <td class="paramname"><em>p_cb_information</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Other layers call this function to register L2CAP services for LE_PSM. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">le_psm</td><td>: LE PSM value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_cb_information</td><td>: L2CAP cb info</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>LE_PSM to use or zero if error. Typically the LE_PSM returned is the same as was passed in, but for an outgoing-only connection a "virtual" LE_PSM is returned and should be used in the calls to <a class="el" href="group__l2cap__le__api__functions.html#gaf1842a34af4edc5e83e6506bc33da982" title="Higher layers call this function to create an L2CAP connection for LE_PSM.">wiced_bt_l2cap_le_connect_req()</a> and <a class="el" href="group__l2cap__le__api__functions.html#ga9166cfd9f8619d2ecb2414d6ba3df7b7" title="Other layers call this function to deregister L2CAP services for LE_PSM.">wiced_bt_l2cap_le_deregister()</a>. </dd></dl>

</div>
</div>
<a id="ga9166cfd9f8619d2ecb2414d6ba3df7b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9166cfd9f8619d2ecb2414d6ba3df7b7">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_deregister()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_le_deregister </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>le_psm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Other layers call this function to deregister L2CAP services for LE_PSM. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">le_psm</td><td>LE PSM value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE for success, FALSE for failure </dd></dl>

</div>
</div>
<a id="gaf1842a34af4edc5e83e6506bc33da982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf1842a34af4edc5e83e6506bc33da982">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_connect_req()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_l2cap_le_connect_req </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>le_psm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>p_bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga97897f7408c23723933e9d21815c7294">wiced_bt_ble_address_type_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__wicedbt___device_management.html#ga4309edd4a7a1c7f30bdc57d8107e84ab">wiced_bt_ble_conn_mode_t</a>&#160;</td>
          <td class="paramname"><em>conn_mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>rx_mtu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>req_security</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>req_encr_key_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structt_d_r_b.html">tDRB</a> *&#160;</td>
          <td class="paramname"><em>p_rx_drb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to create an L2CAP connection for LE_PSM. </p>
<p>Note that the connection is not established at this time, but connection establishment gets started. The callback function will be invoked when connection establishes or fails.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">le_psm</td><td>: LE PSM value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_bd_addr</td><td>: BD Address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr_type</td><td>: BLE_ADDR_PUBLIC or BLE_ADDR_RANDOM </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">conn_mode</td><td>: BLE_CONN_MODE_HIGH_DUTY or BLE_CONN_MODE_LOW_DUTY </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rx_mtu</td><td>: Rx MTU value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><code>rx_mtu</code> must be less then <a class="el" href="structwiced__bt__cfg__ble__t.html#aff4b2166af3a3a1c01b4a1a01950139d">wiced_bt_cfg_ble_t::ble_max_rx_pdu_size</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">req_security</td><td>: Security required </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">req_encr_key_size</td><td>: key size </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_rx_drb</td><td>: DRB to receive peer's data. MUST be large enough to hold RX MTU data, check <a class="el" href="structt_d_r_b.html">tDRB</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><code>p_rx_drb</code> can be released by the application on receiving a callback with the <a class="el" href="structwiced__bt__l2cap__le__appl__information__t.html#a061ad1d94e881cd659b8d31218c689ad">wiced_bt_l2cap_le_appl_information_t::le_release_drb_cb</a> of the <code>p_cb_information</code> member of <a class="el" href="group__l2cap__le__api__functions.html#ga44312ab4c397243d0b40b55851d34a62">wiced_bt_l2cap_le_register</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>the CID of the connection, or 0 if it failed to start </dd></dl>

</div>
</div>
<a id="ga52799083a3026d9b6ff86416e105444c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga52799083a3026d9b6ff86416e105444c">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_connect_rsp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_le_connect_rsp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>p_bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>lcid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>rx_mtu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structt_d_r_b.html">tDRB</a> *&#160;</td>
          <td class="paramname"><em>p_rx_drb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to accept an incoming LE L2CAP connection, for which they had gotten an connect indication callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_bd_addr</td><td>: BD Address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>: ID received from wiced_bt_l2cap_le_connect_indication_cback_t callback. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">lcid</td><td>: Local CID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">result</td><td>: L2CAP result codes (<a class="el" href="group__l2cap.html#L2CAP_CONN_RESULT">L2CAP_CONN_RESULT</a>) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rx_mtu</td><td>: Rx MTU value (must be &lt;= ACL_POOL_SIZE) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_rx_drb</td><td>: DRB to receive peer's data. MUST be large enough to hold RX MTU data, check <a class="el" href="structt_d_r_b.html">tDRB</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><code>p_rx_drb</code> can be released by the application on receiving a callback with the <a class="el" href="structwiced__bt__l2cap__le__appl__information__t.html#a061ad1d94e881cd659b8d31218c689ad">wiced_bt_l2cap_le_appl_information_t::le_release_drb_cb</a> of the <code>p_cb_information</code> member of <a class="el" href="group__l2cap__le__api__functions.html#ga44312ab4c397243d0b40b55851d34a62">wiced_bt_l2cap_le_register</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE for success, FALSE for failure </dd></dl>

</div>
</div>
<a id="gad6cc529f5a1a6359daf1c0da80b5dc0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad6cc529f5a1a6359daf1c0da80b5dc0a">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_disconnect_req()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_le_disconnect_req </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>lcid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to disconnect a LE COC channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lcid</td><td>Local CID value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if disconnect sent, else FALSE </dd></dl>

</div>
</div>
<a id="ga29435ef069ceca748a5c1e67c00799d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga29435ef069ceca748a5c1e67c00799d0">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_disconnect_rsp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_le_disconnect_rsp </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>lcid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to acknowledge the disconnection of a LE COC channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lcid</td><td>Local CID value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a id="ga8724a2d6b1f7c967c7fb8caff8b045ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8724a2d6b1f7c967c7fb8caff8b045ff">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_data_write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t wiced_bt_l2cap_le_data_write </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>cid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>buf_len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send data over LE connection-oriented channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cid</td><td>: CID value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_data</td><td>: Input buffer </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buf_len</td><td>: p_data buffer size</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>L2CAP_DATAWRITE_SUCCESS, if data accepted, else FALSE L2CAP_DATAWRITE_CONGESTED, if data accepted and the channel is congested L2CAP_DATAWRITE_FAILED, if error </dd></dl>

</div>
</div>
<a id="gab5f6c77c918db23fd0ac5cad6125c2f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab5f6c77c918db23fd0ac5cad6125c2f2">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_set_user_congestion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> wiced_bt_l2cap_le_set_user_congestion </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>lcid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>flow_off_peer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>App can call this function to flow control data reception from the peer (flow controlled channels only, viz LE COC, ECRB channels) To stop sending credits/flow off the remote peer set <code>flow_off_peer</code> to WICED_TRUE To resume sending credits/flow on set <code>flow_off_peer</code> to WICED_FALSE. </p>
<dl class="section note"><dt>Note</dt><dd>: This API is typically invoked by applications that buffer incoming data for further processing/forwarding. On invoking the API further issuance of L2CAP credits is stopped, however, the remote will continue to send data till it runs out of credits. The maximum amount of data size expected to be received is 2 * Receive MTU which could be split over a max of (Receive MTU + 2(Sdu header size))/(Receive MPS) number of packets</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lcid</td><td>: Local CID value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">flow_off_peer</td><td>: to flow off peer set to WICED_TRUE, to flow on peer set to WICED_FALSE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if command processed OK </dd></dl>

</div>
</div>
<a id="ga97495805945b9075eec788d99a1ce8c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97495805945b9075eec788d99a1ce8c4">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_get_peer_mtu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_l2cap_le_get_peer_mtu </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>lcid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to get peer MTU. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lcid</td><td>: Local CID value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Peer MTU or 0. </dd></dl>

</div>
</div>
<a id="ga933b228e0a888ef7eb7671a2b3b7bccd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga933b228e0a888ef7eb7671a2b3b7bccd">&#9670;&nbsp;</a></span>wiced_bt_l2cap_le_determ_secur_rsp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_l2cap_le_determ_secur_rsp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>req_secur</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>req_encr_key_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Higher layers call this function to check if the current device security settings are sufficient to continue with call establishment. </p>
<p>It is called by call acceptor on reception of LE Credit Based Connection Request.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: BD Address </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">req_secur</td><td>: Security required </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">req_encr_key_size</td><td>: Key size</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>L2CAP_CONN_OK/L2CAP_BLE_CONN_BAD_AUTHENT/ L2CAP_BLE_CONN_BAD_KEY_SIZE/L2CAP_BLE_CONN_BAD_ENCRYPT/ L2CAP_CONN_NO_RESOURCES. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
